package unb.wikinarua.geopartitura.util;

public class XMPPConstants {

	// XMPP
	public static final int XMPP_SERVER_PORT = 5222;
	public static final String XMPP_SERVER_IP = "192.168.1.102";
	public static final String XMPP_SERVER_NAME = "humrum";
//	public static final String XMPP_SERVER_IP = "monkey-server.no-ip.org";
//	public static final String XMPP_SERVER_NAME = "macaco-server";
	
	public static final String XMPP_REC_PACKAGE = "com.kriptonmobile.mia.xmpp.";  

	public static final String XMPP_REC_NEW_MSG = XMPP_REC_PACKAGE + "NEW_MESSAGE";
	
	public static final String XMPP_REC_CON_FAIL = XMPP_REC_PACKAGE + "CONNECTION_FAILED";
	public static final String XMPP_REC_CON_CLOSED = XMPP_REC_PACKAGE + "CONNECTION_CLOSED";
	public static final String XMPP_REC_CON_ERROR_CLOSED = XMPP_REC_PACKAGE + "CONNECTION_ERROR_CLOSED";
	
	public static final String XMPP_REC_LOGGED_IN = XMPP_REC_PACKAGE + "LOGGED_IN";
	
	public static final String XMPP_REC_ROSTER_PRESENCE_START = XMPP_REC_PACKAGE + "ROSTER_PRESENCE_START";
	public static final String XMPP_REC_ROSTER_PRESENCE_STOP = XMPP_REC_PACKAGE + "ROSTER_PRESENCE_STOP";
	
	public static final String XMPP_REC_PRESENCE_CHANGED = XMPP_REC_PACKAGE + "PRESENCE_CHANGED";
	public static final String XMPP_REC_PRESENCE_ROSTER_GROUP = XMPP_REC_PACKAGE + "PRESENCE_ROSTER_GROUP";
	public static final String XMPP_REC_PRESENCE_ROSTER_ENTRY = XMPP_REC_PACKAGE + "PRESENCE_ROSTER_ENTRY";

	public static final String XMPP_PREF_USER = "xmpp_user";
	public static final String XMPP_PREF_PWD = "xmpp_pwd";
	
	public static final String XMPP_IEXTA_BODY = "body";
	public static final String XMPP_IEXTA_DATE = "date";
	public static final String XMPP_IEXTA_JID = "jid";
	public static final String XMPP_IEXTA_NAME = "username";
	public static final String XMPP_IEXTA_RESOURCE = "resource";
	
	// Presence Types
	public static final int XMPP_PRESENCETYPE_AVAILABLE = 0;
	public static final int XMPP_PRESENCETYPE_UNAVAILABLE = 1;
	public static final int XMPP_PRESENCETYPE_NULL = 99;
	
	// Presence Modes
	public static final int XMPP_PRESENCEMODE_NULL = 0;
	public static final int XMPP_PRESENCEMODE_CHAT = 1;
	public static final int XMPP_PRESENCEMODE_AWAY = 2;
	public static final int XMPP_PRESENCEMODE_XA = 3;
	public static final int XMPP_PRESENCEMODE_DND = 4;
	
	public static final int XMPP_NEW_MSG = 3001;
	public static final int XMPP_CREATE_USER = 3002;
	
}
